x86/xsave: enable support for new ISA extensions
authorJan Beulich <jbeulich@novell.com>
Tue, 25 Feb 2014 08:34:04 +0000 (09:34 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Feb 2014 08:34:04 +0000 (09:34 +0100)
commite8121c54ec8cc6a92ae2d7219e7a7fede6dfd137
treef87e09a33d9ece359af43d30d4c5301c8e0d9d14
parente7a797a8bf115e5b79f8fb5676379c3ac5c30255
x86/xsave: enable support for new ISA extensions

Intel has released a new version of Intel Architecture Instruction Set
Extensions Programming Reference, adding new features like AVX-512,
MPX, etc. Refer to
http://download-software.intel.com/sites/default/files/319433-015.pdf

This patch adds support for these new instruction set extensions
without enabling this support for guest use, yet.

It also adjusts XCR0 validation, at once fixing the definition of
XSTATE_ALL (which is not supposed to include bit 63).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/xstate.c
xen/include/asm-x86/xstate.h